package team.seekers.catering.food.entity.dao;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 套餐表
 * </p>
 *
 * @author hbc
 * @since 2022-02-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Package对象", description="套餐表")
public class Combo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "套餐名称表")
    private String name;

    @ApiModelProperty(value = "套餐描述")
    private String description;

    @ApiModelProperty(value = "套餐样图")
    private String picture;

    @ApiModelProperty(value = "单品组成")
    private String foodContent;

    @ApiModelProperty(value = "食材组成")
    private String ingredientContent;

    @ApiModelProperty(value = "套餐成本")
    private BigDecimal price;

    @ApiModelProperty(value = "口味标签")
    private String label;

    @ApiModelProperty(value = "食物热量")
    private Integer kal;

    @ApiModelProperty(value = "食物总质量")
    private Integer amount;

    @ApiModelProperty(value = "蛋白质供能比")
    private Integer proEr;

    @ApiModelProperty(value = "脂肪供能比")
    private Integer fatEr;

    @ApiModelProperty(value = "碳水供能比")
    private Integer choEr;

    @ApiModelProperty(value = "饱腹感指数")
    private BigDecimal satietyIndex;

    @ApiModelProperty(value = "营养参考值")
    private String nrv;

    @ApiModelProperty(value = "营养饱和度")
    private BigDecimal nfs;

    @ApiModelProperty(value = "能量密度")
    private BigDecimal ed;

    @TableLogic
    private Integer isDeleted;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
